package org.lee.domain.model.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * TreeNode
 * 规则节点
 *
 * @author dralee
 * @date 2021-11-22 14:10:57
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class TreeNode {

    /**
     * 规则树id
     */
    private long treeId;
    /**
     * 规则树节点id
     */
    private long treeNodeId;
    /**
     * 节点类型
     */
    private NodeType nodeType;
    /**
     * 节点值[nodeType=RESULT] 果实
     */
    private String nodeValue;
    /**
     * 规则key
     */
    private String ruleKey;
    /**
     * 规则描述
     */
    private String ruleDesc;
    /**
     * 节点链路
     */
    private List<TreeNodeLink> treeNodeLinkList;
}
